<template>
  <div class="search">
      <div class="search1">
        <div class="left">
          用户名：<input type="text" placeholder="请输入...">
        </div>
        <div class="center">
          警员编号：<input type="text" placeholder="请输入...">
        </div>
        <div class="right">
          <button>搜索</button>
        </div>
      </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.search{
  width: 100%;
  height: 100px;
  border: 1px solid #dedde5;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 3px 3px 0px #ccc;
  .search1{
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    input:focus {
        border: 1px solid blue;
    }
    input::placeholder {
      color: #ccc;
    }
    input{
      width: 200px;
      height: 24px;
      border: 1px solid #ccc;
      border-radius: 5px;
      padding-left: 4px;
    }
    .left{
      margin-left: 54px;
    }
    .center{
      margin-left: 86px;
    }
    .right{
      margin-left: 216px;
      button{
        background: #6768ff;
        color: #fff;
        width: 102px;
        height: 24px;
        border-radius: 5px;
        border: 1px solid #fff;
        box-shadow: 0px 2px 2px 0px #ccc;
        cursor: pointer;
      }
    }
  }
}
</style>